<?php
class Locations_model extends General_db_model
{
	private $tbl_location = 'tbl_locations';


	function total_locations()
	{
		return $this->countTotal($this->tbl_location);
	}

	function get_locations($limit=NULL, $start=NULL)
	{
		$this->db->select('*');
		$query = $this->db->get($this->tbl_location, $limit, $start);
		return $query->result();
	}
}
?>